home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_222 / plplot / src / source.zoo / plsym.c < prev    next >
C/C++ Source or Header  |  1989-05-15  |  409b  |  20 lines

  1. /* Plots single precision array y against x for n points using */
  2. /* Hershey symbol "code" */
  3.  
  4. #include "plplot.h"
  5.  
  6. void plsym(n,x,y,code)
  7. int n, code;
  8. float x[],y[];
  9. {
  10.       int i;
  11.  
  12.       int level;
  13.       glev(&level);
  14.       if (level < 3) fatal("Please set up window before calling PLSYM.");
  15.       if (code < 0) fatal("Invalid code in PLSYM.");
  16.  
  17.       for (i=0; i<n; i++) 
  18.         plsym1(x[i],y[i],code);
  19. }
  20.